package com.igeek.boot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.igeek.boot.dto.DeptEventStatisticDTO;
import com.igeek.boot.dto.EventStatisticDTO;
import com.igeek.boot.dto.MonthDateCountDTO;
import com.igeek.boot.entity.ZhrjAlarmInfo;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @package com.igeek.boot.service
 * @Description 事件的业务层
 * @Author LittlePunk [296526219@qq.ccom]
 * @Version 2022.1
 * @Date 2023/12/12 20:00
 */
public interface ZhrjAlarmInfoService extends IService<ZhrjAlarmInfo> {
    public List<EventStatisticDTO> findByType();

    List<DeptEventStatisticDTO> findByDeptId();

    List<MonthDateCountDTO> findMonthDateCount(LocalDate dateTime, LocalDate nextMonthTime);

    Page<ZhrjAlarmInfo> pageByZhrj(Integer current, Integer size, ZhrjAlarmInfo query);
}
